{% for album in entrys %}
  <div class="item">
    <a href="/gallery?id={{ album.gphoto_id.text }}">
      {% for thumb in album.media.thumbnail %}
        <img class="thumb" src="{{ thumb.url }}" alt="{{ album.title.text }}">
      {% endfor %}
      <span class="item_title">{{ album.title.text }}</span>
    </a>
    <br>
    <span class="item_description">
      <span class="param">Количество фотографий:</span> <span class="val">{{ album.numphotos.text }}</span><br>
      {% if album.summary.text %}
        <span class="param">Описание:</span> <span class="val">{{ album.summary.text }}</span><br>
      {% endif %}
      {% if album.location.text %}
        <span class="param">Место съемки:</span> <span class="val">{{ album.location.text }}</span><br>
      {% endif %}
    </span>
  </div>
{% endfor %}